#pragma once
#include "nalu.h"
#include <iostream>
#include <algorithm>
using namespace std;

class signal_frame {
public:
	//num, total_len, nal_ref_idc, slice_type,avg_qp
	int m_num;
	int m_total_len;
	int m_nal_ref_idc;
	int m_slice_type;
	float m_avg_qp;
	void init();
};

class out {
public:
	void out_put(vector<signal_nalu> &all_nalu, int in_fps, int start_nalu, int end_nalu);
	vector<signal_frame> all_frame;//num, total_len, nal_ref_idc, slice_type,avg_qp
	signal_frame sig_frame;
};


